/**该文件仅存放景点相关的接口Api */
import myaxios from '../MyAxios'
// 引入路径前缀
import BASEURL from '../BaseUrl'
const { BMDURL } = BASEURL

const jdApi = {
  /**分页查询景点 */
  querySpot(params) {
    return myaxios.get(BMDURL + '/spot/get/list', params)
  },
  //   qid查询景点
  qidSpot(params) {
    return myaxios.get(BMDURL + `/spot/get/info/${params}`)
  },
  queryConsult(params) {
    return myaxios.get(BMDURL + '/spot/get/consult', params)
  },
}

export default jdApi
